package fuxi01;

public class Demo7 {
    private String nane;

    private int age;

    private String grade;

    public Demo7(String nane, int age, String grade) {
        this.nane = nane;
        this.age = age;
        this.grade = grade;
    }

    public String getNane() {
        return nane;
    }

    public void setNane(String nane) {
        this.nane = nane;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "Demo7{" +
                "nane='" + nane + '\'' +
                ", age=" + age +
                ", grade='" + grade + '\'' +
                '}';
    }
}
